/*
 * @Description: 
 * @Version: 1.0
 * @Autor: lairensi
 * @Date: 2021-08-31 11:32:12
 * @LastEditors: lairensi
 * @LastEditTime: 2021-08-31 12:21:20
 */
import 'package:flutter/material.dart';

class Global{

  static String TOKEN = "";

  static final GlobalKey<NavigatorState> navigatorKey = GlobalKey();

  /// 获取当前的state
  static NavigatorState getCurrentState() => navigatorKey.currentState;

  /// 获取当前的context
  static BuildContext getCurrentContext() => navigatorKey.currentContext;

}